# server:server.o socket_pthread.o 
# 	gcc  server.o socket_pthread.o -lpthread  -o server

# server.o:
# 	gcc -c src/server.c -lpthread
# socket_pthread.o:
# 	gcc -c src/socket_pthread.c -lpthread

# clean:
# 	rm server.o socket_pthread.o

obj = server.o socket_pthread.o 

server:$(obj)
	gcc  $(obj) -lpthread  -o server
server.o:
	gcc -c src/($(edit)) -lpthread
clean:
	rm $(obj) server